  /**
   * Generate time : 2016-04-26 21:01:40
   * Version : 1.0.1.V20070717
   */
package com.baosight.sczx.zm.ck.domain;

import com.baosight.iplat4j.core.ei.EiColumn;
import com.baosight.iplat4j.ep.DaoEPBase;
import java.util.HashMap;
import java.util.Map;
import com.baosight.iplat4j.util.StringUtils;
/**
 * ZMCKTCCRReport 
 * table comment : 停产撤人方案从表 
 */
public class ZMCKTCCRReport extends DaoEPBase {

	private String fdKeyId = " ";		/* 主键*/
	private String fdWorknumId = " ";		/* 生产班次*/
	private String fdTccrId = " ";		/* 停产撤人主表ID*/
	private String fdCurrentDate = " ";		/* 当前日期*/
	private String fdDepartmentId = " ";		/* 责任单位ID*/
	private String fdDepartment = " ";		/* 责任单位*/
	private String fdZxqk = " ";		/* 停产撤人执行情况*/
	/**
	 * initialize the metadata 
	 */
	public void initMetaData() {
		EiColumn eiColumn;
		
	eiColumn = new EiColumn("fdKeyId");
	eiColumn.setPrimaryKey(true);
	eiColumn.setFieldLength(32);	
	eiColumn.setDescName("主键");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdWorknumId");
	eiColumn.setFieldLength(32);	
	eiColumn.setDescName("生产班次");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdTccrId");
	eiColumn.setFieldLength(50);	
	eiColumn.setDescName("停产撤人主表ID");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdCurrentDate");
	eiColumn.setFieldLength(10);	
	eiColumn.setDescName("当前日期");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdDepartmentId");
	eiColumn.setFieldLength(32);	
	eiColumn.setDescName("责任单位ID");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdDepartment");
	eiColumn.setFieldLength(50);	
	eiColumn.setDescName("责任单位");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdZxqk");
	eiColumn.setFieldLength(500);	
	eiColumn.setDescName("停产撤人执行情况");
	eiMetadata.addMeta(eiColumn);
	

	}
	/**
	 * the constructor
	 */
	public ZMCKTCCRReport() {
		initMetaData();
	}
	
	/**
	 * get the fdKeyId - 主键
	 * @return the fdKeyId
	 */
	public String getFdKeyId() {
		return this.fdKeyId;
	}
	
	/**
	 * set the fdKeyId - 主键
	 */
	public void setFdKeyId(String fdKeyId) {
		this.fdKeyId = fdKeyId;
	}
	/**
	 * get the fdWorknumId - 生产班次
	 * @return the fdWorknumId
	 */
	public String getFdWorknumId() {
		return this.fdWorknumId;
	}
	
	/**
	 * set the fdWorknumId - 生产班次
	 */
	public void setFdWorknumId(String fdWorknumId) {
		this.fdWorknumId = fdWorknumId;
	}
	/**
	 * get the fdTccrId - 停产撤人主表ID
	 * @return the fdTccrId
	 */
	public String getFdTccrId() {
		return this.fdTccrId;
	}
	
	/**
	 * set the fdTccrId - 停产撤人主表ID
	 */
	public void setFdTccrId(String fdTccrId) {
		this.fdTccrId = fdTccrId;
	}
	/**
	 * get the fdCurrentDate - 当前日期
	 * @return the fdCurrentDate
	 */
	public String getFdCurrentDate() {
		return this.fdCurrentDate;
	}
	
	/**
	 * set the fdCurrentDate - 当前日期
	 */
	public void setFdCurrentDate(String fdCurrentDate) {
		this.fdCurrentDate = fdCurrentDate;
	}
	/**
	 * get the fdDepartmentId - 责任单位ID
	 * @return the fdDepartmentId
	 */
	public String getFdDepartmentId() {
		return this.fdDepartmentId;
	}
	
	/**
	 * set the fdDepartmentId - 责任单位ID
	 */
	public void setFdDepartmentId(String fdDepartmentId) {
		this.fdDepartmentId = fdDepartmentId;
	}
	/**
	 * get the fdDepartment - 责任单位
	 * @return the fdDepartment
	 */
	public String getFdDepartment() {
		return this.fdDepartment;
	}
	
	/**
	 * set the fdDepartment - 责任单位
	 */
	public void setFdDepartment(String fdDepartment) {
		this.fdDepartment = fdDepartment;
	}
	/**
	 * get the fdZxqk - 停产撤人执行情况
	 * @return the fdZxqk
	 */
	public String getFdZxqk() {
		return this.fdZxqk;
	}
	
	/**
	 * set the fdZxqk - 停产撤人执行情况
	 */
	public void setFdZxqk(String fdZxqk) {
		this.fdZxqk = fdZxqk;
	}
	/**
	 * get the value from Map
	 */
	public void fromMap(Map map) {
	
		setFdKeyId(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdKeyId")), fdKeyId));
		setFdWorknumId(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdWorknumId")), fdWorknumId));
		setFdTccrId(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdTccrId")), fdTccrId));
		setFdCurrentDate(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdCurrentDate")), fdCurrentDate));
		setFdDepartmentId(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdDepartmentId")), fdDepartmentId));
		setFdDepartment(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdDepartment")), fdDepartment));
		setFdZxqk(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdZxqk")), fdZxqk));
	}
	
	/**
	 * set the value to Map
	 */
	public Map toMap() {
		
		Map map = new HashMap();
			map.put("fdKeyId",StringUtils.toString(fdKeyId, eiMetadata.getMeta("fdKeyId")));	
			map.put("fdWorknumId",StringUtils.toString(fdWorknumId, eiMetadata.getMeta("fdWorknumId")));	
			map.put("fdTccrId",StringUtils.toString(fdTccrId, eiMetadata.getMeta("fdTccrId")));	
			map.put("fdCurrentDate",StringUtils.toString(fdCurrentDate, eiMetadata.getMeta("fdCurrentDate")));	
			map.put("fdDepartmentId",StringUtils.toString(fdDepartmentId, eiMetadata.getMeta("fdDepartmentId")));	
			map.put("fdDepartment",StringUtils.toString(fdDepartment, eiMetadata.getMeta("fdDepartment")));	
			map.put("fdZxqk",StringUtils.toString(fdZxqk, eiMetadata.getMeta("fdZxqk")));	
			
		return map;
	
	}
}